<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<meta http-equiv="x-ua-compatible" content="ie=7" />
		<title>商机操作</title>
		<script type="text/javascript" src="../../dwr/util.js"></script>
		<script type="text/javascript" src="../../dwr/engine.js"></script>
		<script type="text/javascript" src="../../lovejes/lovejes.js"></script>
		<script type="text/javascript" src="../js/sys_util.js"></script>
		<script type="text/javascript" src="../js/oppor/oppor.js"></script>
		<script type="text/javascript" src="../../lovejes/fckeditor/fckeditor.js"></script>
		<script type="text/javascript" src="../../lovejes/My97DatePicker/WdatePicker.js"></script>
		<link href="../../jesacl/themes/default/css/config.css" rel="stylesheet" type="text/css">
	</head>
	<body onload="Jes.OpporOp.init();"><form name="form1" id="form1" method="post" action="">
	<!-- button begin -->
	<table cellpadding="0" cellspacing="0" border="0" width="100%">
		<tr>
			<td style="padding-bottom: 2px;" id="op_button">
				<input title="Save [Alt+S]" accessKey="S" class="button" type="button" id="addtj" name="addtj" value="  保存并提交  " style="display:none">
				<input title="Save [Alt+S]" accessKey="S" class="button" type="button" id="add" name="add" value="  保存  " >
				<input title="Close [Alt+C]" accessKey="C" class="button" type="button" id="close" name="close" value="  关闭  ">
			</td>
			<td align="right" nowrap><span class="notnull">*</span> 必须</td>
			<td align='right'></td>
		</tr>
	</table>
	<!-- button end -->
	<!-- op_html begin -->
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
		<tr>
			<td>
				<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table">
					<tr>
						<th align="left" colspan="4"><h3 id="op_title"><img src="../../jesacl/themes/default/images/Contacts.gif" width="16" height="16">新增商机</h3></th>
					</tr>
					<tr id="_flowtr1" style="display:none">
						<td width="15%">下一环节审批人:</td>
						<td colspan="3" id="_flowadmins"></td>
					</tr>
					<tr id="_flowtr2" style="display:none">
						<td width="15%">提交意见:</td>
						<td colspan="3">
						<textarea id="flowinfo" name="flowinfo" notnull rulePre="istj=1" title="提交意见" cols="80" rows="6">请审核此商机</textarea>
						<span class="notnull">*</span>
						</td>
					</tr>
					<tr id="_no" style="display:none">
						<td width="15%">商机编号:</td>
						<td width="35%"><input type="text" title="商机编号"  id="no" name="no" class="iptRead" size="25" readOnly ></td>
						<td width="15%"></td>
						<td></td>
					</tr>
					<tr>
						<td width="15%">商机名称:</td>
						<td width="35%"><input type="text" title="商机名称" notnull id="name" name="name" class="input" onblur="this.className='pass';" onfocus="this.className='lave';" size="25"><span class="notnull">*</span></td>
						<td width="15%">发起人:</td>
						<td><input type="text" title="发起人" notnull id="opusername" name="opusername" class="input" onblur="this.className='pass';" onfocus="this.className='lave';" size="25"><span class="notnull">*</span></td>
					</tr>
					<tr>
						<td>商机类型:</td>
						<td>
							<select title="商机类型" notnull id="optype" name="optype" class="input">
							<option value="">--------------------------</option>
							</select><span class="notnull">*</span>
	          			</td>
						<td>商机业务类型:</td>
						<td>
							<select title="商机业务类型" notnull id="bussoptype" name="bussoptype" class="input">
							<option value="">--------------------------</option>
							</select><span class="notnull">*</span>
						</td>
					</tr>
					<tr>
						<td width="15%">商机属性:</td>
						<td width="35%">
							<select title="商机属性" notnull id="oppro" name="oppro" class="input">
							<option value="">--------------------------</option>
							</select><span class="notnull">*</span>
						</td>
						<td width="15%">商机区域:</td>
						<td>
							<select title="商机区域" notnull id="area" name="area" class="input">
							<option value="">--------------------------</option>
							</select><span class="notnull">*</span>
						</td>
					</tr>
					<tr>
						<td width="15%">预计一次性收入（万元）:</td>
						<td width="35%"><input type="text" title="预计一次性收入" notnull rule="num" id="toonein" name="toonein" class="input" onblur="this.className='pass';" onfocus="this.className='lave';" size="25"><span class="notnull">*</span></td>
						<td width="15%">预计年租费收入（万元）:</td>
						<td><input type="text" title="预计年租费收入" notnull rule="num" id="toyearrentin" name="toyearrentin" class="input" onblur="this.className='pass';" onfocus="this.className='lave';" size="25"><span class="notnull">*</span></td>
					</tr>
					<tr>
						<td width="15%">实际一次性收入（万元）√:</td>
						<td width="35%"><span id="info.onein" style="color:#ff0000;"></span></td>
						<td width="15%">实际年租费收入（万元）√:</td>
						<td><span id="info.yearrentin" style="color:#ff0000;"></span></td>
					</tr>
					<tr>
						<td width="15%">CRM号√:</td>
						<td width="35%"><span id="info.crm" style="color:#ff0000;"></span></td>
						<td width="15%">VIP号√:</td>
						<td><span id="info.vip" style="color:#ff0000;"></span></td>
					</tr>
					<tr>
						<td width="15%">预计签约时间:</td>
						<td width="35%"><input type="text" title="预计签约时间" notnull id="tosigntime" name="tosigntime" dataType="date" class="Wdate" onfocus="WdatePicker({skin:'whyGreen',isShowClear:false,readOnly:true,minDate:'%y-%M-%d'})" size="25"><span class="notnull">*</span></td>
						<td width="15%">用户完工时间:</td>
						<td><input type="text" title="用户完工时间" notnull id="finitime" name="finitime" dataType="date" class="Wdate" onfocus="WdatePicker({skin:'whyGreen',isShowClear:false,readOnly:true,minDate:'%y-%M-%d'})" size="25"><span class="notnull">*</span></td>
					</tr>
					<tr>
						<td width="15%">客户名称:</td>
						<td width="35%"><input type="text" title="客户名称" notnull id="custname" name="custname" class="input" onblur="this.className='pass';" onfocus="this.className='lave';" size="25"><span class="notnull">*</span></td>
						<td width="15%">客户联系人:</td>
						<td><input type="text" title="客户联系人" notnull id="custcontname" name="custcontname" class="input" onblur="this.className='pass';" onfocus="this.className='lave';" size="25"><span class="notnull">*</span></td>
					</tr>
					<tr>
						<td width="15%">客户联系电话:</td>
						<td width="35%"><input type="text" title="客户联系电话" notnull name="custtel" id="custtel" class="input" onblur="this.className='pass';" onfocus="this.className='lave';" size="25"><span class="notnull">*</span></td>
						<td width="15%">&nbsp;</td>
						<td></td>
					</tr>
					<tr>
						<td>商机内容 :</td>
						<td colspan="3"><textarea title="商机内容" notnull id="content" name="content" dataType="fck"></textarea><span class="notnull">*</span></td>
					</tr>
					<tr>
						<td>备注信息 :</td>
						<td colspan="3"><textarea title="备注信息" id="remark" name="remark" cols="130" rows="3" class="input" onblur="this.className='pass';" onfocus="this.className='lave';"></textarea></td>
					</tr>
					<tr>
					  <td >&nbsp;</td>
					  <td >
						<!--hidden-->
						<input type="hidden" title="id" id="id" name="id">
						<input type="hidden" title="keywords" id="keywords" name="keywords">
						<!--
						<input type="hidden" title="name" id="name" name="name">
						
						<input type="hidden" title="optype" id="optype" name="optype">
						<input type="hidden" title="bussoptype" id="bussoptype" name="bussoptype">
						<input type="hidden" title="oppro" id="oppro" name="oppro">
						<input type="hidden" title="area" id="area" name="area">
						<input type="hidden" title="toonein" id="toonein" name="toonein">
						<input type="hidden" title="toyearrentin" id="toyearrentin" name="toyearrentin">
						<input type="hidden" title="tosigntime" id="tosigntime" name="tosigntime" dataType="datetime" value="new">
						<input type="hidden" title="finitime" id="finitime" name="finitime" dataType="datetime" value="new">
						<input type="hidden" title="remark" id="remark" name="remark">
						<input type="hidden" title="custname" id="custname" name="custname">
						<input type="hidden" title="custcontname" id="custcontname" name="custcontname">
						<input type="hidden" title="custtel" id="custtel" name="custtel">
						<input type="hidden" title="opusername" id="opusername" name="opusername">
						-->
						<input type="hidden" id="istj" name="istj">
						<input type="hidden" name="status" id="status" value="1">
						<input type="hidden" name="clicks" id="clicks" value="0">
						<input type="hidden" name="backnums" id="backnums" value="0">
						<input type="hidden" title="lastbacktime" id="lastbacktime" name="lastbacktime" dataType="time" value="new">
						<!--这个如何处理-->
						<input type="hidden" title="modifyuserid" id="modifyuserid" name="modifyuserid">
						<input type="hidden" title="modifytime" id="modifytime" name="modifytime" dataType="time" value="new">
						<input type="hidden" title="userid" id="userid" name="userid">
						<input type="hidden" title="recordtime" id="recordtime" name="recordtime" dataType="time" value="new">
						<input type="hidden" title="flownode" id="flownode" name="flownode" value="1">
						<input type="hidden" title="onein" id="onein" name="onein">
						<input type="hidden" title="yearrentin" id="yearrentin" name="yearrentin">
						<input type="hidden" title="cper" id="cper" name="cper">
						<input type="hidden" title="crm" id="crm" name="crm">
						<input type="hidden" title="vip" id="vip" name="vip">
						<input type="hidden" title="sfnum" id="sfnum" name="sfnum">
						<input type="hidden" title="bonus" id="bonus" name="bonus">
						<input type="hidden" title="flowtime" id="flowtime" name="flowtime" dataType="time" value="new">
					  </td>
					  <td >&nbsp;</td>
					  <td >&nbsp;</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
	<!-- op_html end -->
</form>
	</body>
</html>